package edu.ustb.efws.controller.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * 登录
 *
 * @author TS Group
 */
@ApiModel("登录")
public class LoginForm {
    @NotBlank
    @ApiModelProperty(value = "用户名")
    private String username;
    @NotBlank
    @ApiModelProperty(value = "密码")
    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
